package com.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name="stock-service",path = "/stock")
public interface StockService {

    //声明
    @RequestMapping("/deduct")
     String deduct();

}
